#loadOverlay {
  /*whole page overlay with transparent background*/
  background-color: rgba(0,0,0,0.5);
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*to ensure it is the topmost*/
  z-index: 2;
}

.overlay {
  position: absolute;
  top: 50%;
  /*stop the user from selecting text*/
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none; /* Standard */
}

#loadContent {
  position: relative;
  text-align: center;
}

#loadText {
  position: relative;
  left: 50%;
  cursor: default;
  text-align: center;
  font-size: 50px;
  color: white;
  transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
}

.spin {
  display: inline-block;
  width: 100px;
  height: 100px;
  border: 3px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}
@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}
